{% extends 'backend/backend.html' %}

{% block css %}
    <link rel="stylesheet" href="/static/my/css/backend/edie_avatar.css">
{% endblock %}

{% block content %}
    <ul class="flex avatar_list" avatar_nid="{{ avatar_id }}">
        {% for avatar in avatar_list %}
            <li>
                <el-radio v-model="edit_avatar_id" :label="{{ avatar.nid }}">
                    <img src="{{ avatar.url.url }}" alt="">
                </el-radio>
            </li>
        {% endfor %}
    </ul>
    <el-button @click="edit_avatar_method" type="danger">修改头像</el-button>
{% endblock %}





